package cn.edu.scau.cmi.chenyuanying.orm.dao;

import org.hibernate.Session;

import cn.edu.scau.cmi.chenyuanying.orm.hibernate.HibernateSessionFactory;

public class BaseDAO {
	public Session getSession() {
		return HibernateSessionFactory.getSessionFactory().openSession();
	}
}
